#!/bin/sh

if ! grep '^auto lo' /etc/network/interfaces &> /dev/null ; then
    mkdir -p -m 0755 /etc/network
    cat >> /etc/network/interfaces <<-EOF

	# The loopback network interface
	auto lo
	iface lo inet loopback

	EOF
fi
